package com.grass.cropTradingCenter.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName admin_user
 */
@TableName(value ="admin_user")
@Data
public class AdminUser implements Serializable {
    /**
     * 
     */
    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;

    /**
     * 
     */
    @TableField(value = "admin_account")
    private String adminAccount;

    /**
     * 管理员密码
     */
    @TableField(value = "admin_password")
    private String adminPassword;

    /**
     * 1--高级管理员  0--普通管理员
     */
    private Integer adminLevel;

    private Integer forbiddenFlag;

    private String realName;
    private String phone;

    private Date lastLoginTime;

    private Date thisLoginTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}